<?php

// Begin Widget Settings
if ( function_exists('register_sidebar') )
	register_sidebar(array(
'name' => 'LeftSidebar', 
'before_widget' => '<ol>', // Removes <li>
'after_widget' => '</ol>', // Removes </li>
'before_title' => '<h2>', // Replaces <h2>
'after_title' => '</h2>', // Replaces </h2>
));						
if ( function_exists('register_sidebar') )
	register_sidebar(array(
'name' => 'RightSidebar',
'before_widget' => '<ol>', // Removes <li>
'after_widget' => '</ol>', // Removes </li>
'before_title' => '<h2>', // Replaces <h2>
'after_title' => '</h2>', // Replaces </h2>
));
// End for Widget Settings.

// Begin languages settings
if (!function_exists ('load_theme_textdomain'))
  include (ABSPATH.WPINC.'/l10n.php');
load_theme_textdomain ('apple4us');
// End for languages settings.


// Begin remove the CSS of WP-Pagenavi plugin,
// you can find the CSS in layout.css file,find /* Hack for WP-PageNavi */
remove_action('wp_head', 'pagenavi_css');
// End remove function of WP-Pagenavi

// remove the checkbox of Subscribe to comments,
// the codes of the checkbox in the comments.php, find <!-- Begin Subscribe to comments-->
// the CSS in the comments.css, find /* Begin Hack for subscribe-to-comments */
remove_action('comment_form', 'show_subscription_checkbox');
// End remove the function of Subscribe to comments

//
?>